#include<iostream>
using namespace std;
#include"demo6-6.h"

int test(int a)
{
	return a;
}
int test(double a)
{
	return int(a);
}
int test(int a, double b)
{
	return a + b;
}

int main()
{
	int(*p)(int);
	p = test;
	int result = (*p)(1);
	result = test(2.0);
	result = test(1, 2.0);
	return 0;
}